﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Drawing;
using System.Windows.Forms;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.Logic.POI;

namespace HarmoniousVigor
{
    public partial class Rogue
    {
        public bool assassinationCombat()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (assassinationPVPCombat())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (assassinationDungeonCombat())
                    return true;
            }
            else
            {
                if (assassinationQuestingCombat())
                    return true;
            }

            return false;
        }
        public bool assassinationHeal()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (assassinationPVPHeal())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (assassinationDungeonHeal())
                    return true;
            }
            else
            {
                if (assassinationQuestingHeal())
                    return true;
            }

            return false;
        }
        public bool assassinationBuff()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (assassinationPVPBuff())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (assassinationDungeonBuff())
                    return true;
            }
            else
            {
                if (assassinationQuestingBuff())
                    return true;
            }

            return false;
        }
        public bool assassinationPullSpell()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (assassinationPVPPullSpell())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (assassinationDungeonPullSpell())
                    return true;
            }
            else
            {
                if (assassinationQuestingPullSpell())
                    return true;
            }

            return false;
        }
    }
}
